package pers.zhuli.weblog.dao;

import org.springframework.data.jpa.repository.JpaRepository;
import pers.zhuli.weblog.entity.User;

public interface UserDAO extends JpaRepository<User, Integer> {
    User getByUsername(String username);

    User getById(int id);
}
